<template>
    <div class="box">
        <div class="loadingImg">
            <img src="../../assets/images/v2_qjnxa6.png" alt="">
        </div>
    </div>
</template>

<script setup lang="ts">
 var timer; // 用于存储setTimeout返回的ID  
    
  window.onload = function() {  
    // 设置定时器  
    timer = setTimeout(function() {  
      window.location.href = '/home'; // 替换为你想要跳转到的页面URL  
    }, 3000);  
  };  
</script>

<style scoped>
.box
{
    width: 100vw;
    height: 100vh;
}

.loadingImg
{
    width: 100%;
    height:98%;
}


.loadingImg img
{
    width: 100%;
    height: 100%;
}
</style>